package com.heo.music.player.service;


import com.heo.music.player.dto.input.PlaylistInput;
import com.heo.music.player.dto.output.MusicInfoOutput;
import com.heo.music.player.dto.output.PlaylistOutput;

import java.util.List;

/**
 * created on 2024-05-12 11:12
 *
 * @author 星天无极
 **/
public interface PlaylistService {

    PlaylistOutput createPlaylist(PlaylistInput input);

    List<PlaylistOutput> getAllPlaylist();

    List<MusicInfoOutput> getMusicInfoInPlaylist(Integer playlistId);

    void addMusicInfoToPlaylist(Integer playlistId, Integer musicId);

    void removeMusicInfoFromPlaylist(Integer playlistId, Integer musicId);

    void deletePlaylist(Integer playlistId);

}
